package com.cloud.alibaba.custom;


import com.cloud.yangfeiself.event.DistributeEvent;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.bus.jackson.RemoteApplicationEventScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@RemoteApplicationEventScan(basePackageClasses = {DistributeEvent.class})
public class AlibabaCloudCustomApplication {

    public static void main(String[] args) {
        SpringApplication.run(AlibabaCloudCustomApplication.class, args);
    }

}
